package com.jgame.secondarymarket.interfaces.dto.account;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @title: AccountDTO
 * @Author Wangsj
 * @Date: 2021/7/30
 */
@Data
@ApiModel(description = "账号数据传输对象")
public class AccountDTO {

    @ApiModelProperty(value = "用户名")
    @NotNull
    private String userName;


    @ApiModelProperty(value = "密码")
    @NotNull
    private String password;
}
